[INFO] fetching crate metalmq 0.1.0...
[INFO] building metalmq-0.1.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate metalmq 0.1.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate metalmq 0.1.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate metalmq 0.1.0
[INFO] finished tweaking crates.io crate metalmq 0.1.0
[INFO] tweaked toml for crates.io crate metalmq 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate crates.io crate metalmq 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee3bf8eeaa68b5f6f0b3447c509ceac3f0cd7cfe7bc74c5ced143660c0eef47f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ee3bf8eeaa68b5f6f0b3447c509ceac3f0cd7cfe7bc74c5ced143660c0eef47f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee3bf8eeaa68b5f6f0b3447c509ceac3f0cd7cfe7bc74c5ced143660c0eef47f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee3bf8eeaa68b5f6f0b3447c509ceac3f0cd7cfe7bc74c5ced143660c0eef47f", kill_on_drop: false }`
[INFO] [stdout] ee3bf8eeaa68b5f6f0b3447c509ceac3f0cd7cfe7bc74c5ced143660c0eef47f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93409382fd584a11a23d83be36798e66891fe47c4b79344753e0ebcafd38d7e9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "93409382fd584a11a23d83be36798e66891fe47c4b79344753e0ebcafd38d7e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling thread_local v1.1.2
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling tokio v1.1.1
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling tokio-macros v1.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling tokio-util v0.6.3
[INFO] [stderr]    Compiling tokio-stream v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling metalmq-codec v0.2.0
[INFO] [stderr]    Compiling metalmq-client v0.2.0
[INFO] [stderr]    Compiling metalmq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `manager::ExchangeManager`
[INFO] [stdout]  --> src/client/state.rs:2:79
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager};
[INFO] [stdout]   |                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::QueueManager`
[INFO] [stdout]  --> src/client/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::queue::{manager::QueueManager};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `InitFn`
[INFO] [stdout]  --> src/bdd.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | type InitFn<W> = fn() -> Pin<Box<dyn Future<Output=Result<W>>>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `StepFn`
[INFO] [stdout]  --> src/bdd.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | type StepFn<W> = for<'r> fn(&'r mut W) -> Pin<Box<dyn Future<Output=Result<()>> + 'r>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Step`
[INFO] [stdout]   --> src/bdd.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum Step<W> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Steps`
[INFO] [stdout]   --> src/bdd.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Steps<W> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `feature`
[INFO] [stdout]   --> src/bdd.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn feature(text: &str, f: InitFn<W>) -> Self {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `given`
[INFO] [stdout]   --> src/bdd.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn given(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `when`
[INFO] [stdout]   --> src/bdd.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn when(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `then`
[INFO] [stdout]   --> src/bdd.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn then(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `check`
[INFO] [stdout]   --> src/bdd.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub async fn check(&mut self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `fail`
[INFO] [stdout]   --> src/bdd.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn fail(error: Box<dyn std::error::Error>) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write`
[INFO] [stdout]   --> src/bdd.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn write<W>(step: &Step<W>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_client_error`
[INFO] [stdout]    --> src/bdd.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn to_client_error<T: std::fmt::Debug>(result: Result<T>) -> metalmq_client::ClientError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `queues`
[INFO] [stdout]   --> src/client/state.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     queues: HashMap<String, message::MessageChannel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/queue.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.71s
[INFO] running `Command { std: "docker" "inspect" "93409382fd584a11a23d83be36798e66891fe47c4b79344753e0ebcafd38d7e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93409382fd584a11a23d83be36798e66891fe47c4b79344753e0ebcafd38d7e9", kill_on_drop: false }`
[INFO] [stdout] 93409382fd584a11a23d83be36798e66891fe47c4b79344753e0ebcafd38d7e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 19f02b9ba7d9c6d1e0385fddb5ab9074fb10d1321da32beb31360d2c7d810c60
[INFO] running `Command { std: "docker" "start" "-a" "19f02b9ba7d9c6d1e0385fddb5ab9074fb10d1321da32beb31360d2c7d810c60", kill_on_drop: false }`
[INFO] [stderr]    Compiling metalmq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `manager::ExchangeManager`
[INFO] [stdout]  --> src/client/state.rs:2:79
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager};
[INFO] [stdout]   |                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::QueueManager`
[INFO] [stdout]  --> src/client/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::queue::{manager::QueueManager};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `InitFn`
[INFO] [stdout]  --> src/bdd.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | type InitFn<W> = fn() -> Pin<Box<dyn Future<Output=Result<W>>>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `StepFn`
[INFO] [stdout]  --> src/bdd.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | type StepFn<W> = for<'r> fn(&'r mut W) -> Pin<Box<dyn Future<Output=Result<()>> + 'r>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Step`
[INFO] [stdout]   --> src/bdd.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum Step<W> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Steps`
[INFO] [stdout]   --> src/bdd.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Steps<W> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `feature`
[INFO] [stdout]   --> src/bdd.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn feature(text: &str, f: InitFn<W>) -> Self {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `given`
[INFO] [stdout]   --> src/bdd.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn given(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `when`
[INFO] [stdout]   --> src/bdd.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn when(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `then`
[INFO] [stdout]   --> src/bdd.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn then(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `check`
[INFO] [stdout]   --> src/bdd.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub async fn check(&mut self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `fail`
[INFO] [stdout]   --> src/bdd.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn fail(error: Box<dyn std::error::Error>) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write`
[INFO] [stdout]   --> src/bdd.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn write<W>(step: &Step<W>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_client_error`
[INFO] [stdout]    --> src/bdd.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn to_client_error<T: std::fmt::Debug>(result: Result<T>) -> metalmq_client::ClientError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `queues`
[INFO] [stdout]   --> src/client/state.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     queues: HashMap<String, message::MessageChannel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/queue.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `metalmq`
[INFO] [stdout]  --> tests/exchange.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use metalmq::bdd::{init, step, Steps};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `metalmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `metalmq_client as client`
[INFO] [stdout]  --> tests/exchange.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use metalmq_client as client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `metalmq`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `crate::metalmq_client as client`
[INFO] [stdout]  --> tests/consume.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::metalmq_client as client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `helper::conn::default_connection`
[INFO] [stdout]  --> tests/consume.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use helper::conn::default_connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> tests/consume.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{oneshot};
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `metalmq`
[INFO] [stdout]  --> tests/publish.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use metalmq::bdd::{init, step, Steps};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `metalmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `default_connection`
[INFO] [stdout]  --> tests/helper/conn.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) async fn default_connection(exchange: &str, queue: &str) -> Result<Client> {
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_client_error`
[INFO] [stdout]   --> tests/helper/conn.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn to_client_error<T: std::fmt::Debug>(result: Result<T>) -> ClientError {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `consume_messages`
[INFO] [stdout]   --> tests/helper/conn.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) async fn consume_messages<'a>(client: &'a Client, channel: Channel, queue: &'a str,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::ExchangeManager`
[INFO] [stdout]  --> src/client/state.rs:2:79
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::exchange::{handler::ExchangeCommandSink, handler::ExchangeCommand, manager::ExchangeManager};
[INFO] [stdout]   |                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::QueueManager`
[INFO] [stdout]  --> src/client/state.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::queue::{manager::QueueManager};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::metalmq_client as client`
[INFO] [stdout]  --> tests/conn.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::metalmq_client as client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `default_connection`
[INFO] [stdout]  --> tests/helper/conn.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) async fn default_connection(exchange: &str, queue: &str) -> Result<Client> {
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_client_error`
[INFO] [stdout]   --> tests/helper/conn.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn to_client_error<T: std::fmt::Debug>(result: Result<T>) -> ClientError {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `consume_messages`
[INFO] [stdout]   --> tests/helper/conn.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) async fn consume_messages<'a>(client: &'a Client, channel: Channel, queue: &'a str,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `InitFn`
[INFO] [stdout]  --> src/bdd.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | type InitFn<W> = fn() -> Pin<Box<dyn Future<Output=Result<W>>>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `StepFn`
[INFO] [stdout]  --> src/bdd.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | type StepFn<W> = for<'r> fn(&'r mut W) -> Pin<Box<dyn Future<Output=Result<()>> + 'r>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Step`
[INFO] [stdout]   --> src/bdd.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum Step<W> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Steps`
[INFO] [stdout]   --> src/bdd.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Steps<W> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `feature`
[INFO] [stdout]   --> src/bdd.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub async fn feature(text: &str, f: InitFn<W>) -> Self {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `given`
[INFO] [stdout]   --> src/bdd.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn given(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `when`
[INFO] [stdout]   --> src/bdd.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn when(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `then`
[INFO] [stdout]   --> src/bdd.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn then(&mut self, text: &str, f: StepFn<W>) -> &mut Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `check`
[INFO] [stdout]   --> src/bdd.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub async fn check(&mut self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `fail`
[INFO] [stdout]   --> src/bdd.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn fail(error: Box<dyn std::error::Error>) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write`
[INFO] [stdout]   --> src/bdd.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn write<W>(step: &Step<W>) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_client_error`
[INFO] [stdout]    --> src/bdd.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn to_client_error<T: std::fmt::Debug>(result: Result<T>) -> metalmq_client::ClientError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `queues`
[INFO] [stdout]   --> src/client/state.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     queues: HashMap<String, message::MessageChannel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/queue.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "19f02b9ba7d9c6d1e0385fddb5ab9074fb10d1321da32beb31360d2c7d810c60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19f02b9ba7d9c6d1e0385fddb5ab9074fb10d1321da32beb31360d2c7d810c60", kill_on_drop: false }`
[INFO] [stdout] 19f02b9ba7d9c6d1e0385fddb5ab9074fb10d1321da32beb31360d2c7d810c60
